<?php

namespace App\Models\Home;

use Illuminate\Database\Eloquent\Model;

class User extends Model
{
    //禁用时间戳自动管理
    public $timestamps = false;

    protected $fillable = ['is_allowed','phone','email','created_at'];

    public function user_info()
    {
        return $this->hasOne('App\Models\Home\UserInfo');

    }
}
